.class Lcom/nemustech/regina/widgets/clock/ClockWidget$34;
.super Ljava/lang/Object;
.source "ClockWidget.java"

# interfaces
.implements Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/widgets/clock/ClockWidget;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/widgets/clock/ClockWidget;)V
    .locals 0
    .parameter

    .prologue
    .line 2080
    iput-object p1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onEffectFinish(Lcom/nemustech/tiffany/world/TFObject;)V
    .locals 7
    .parameter "object"

    .prologue
    const/4 v6, 0x2

    const/high16 v5, 0x3f80

    const/4 v2, 0x0

    const/4 v4, 0x1

    const/4 v3, 0x0

    .line 2082
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$3600(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v0

    if-ne p1, v0, :cond_0

    .line 2083
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$5300(Lcom/nemustech/regina/widgets/clock/ClockWidget;)I

    move-result v0

    packed-switch v0, :pswitch_data_0

    .line 2136
    :pswitch_0
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$4100(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "onEffectFinish() object - "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v3}, Lcom/nemustech/regina/RLog;->e(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 2141
    :goto_0
    return-void

    .line 2085
    :pswitch_1
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$4100(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "onEffectFinish() - EFFECT_FORECAST_UNFOLD"

    invoke-static {v0, v1, v3}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 2087
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$4100(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "forecast holder fade 1"

    invoke-static {v0, v1, v3}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 2088
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$5400(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v0

    invoke-virtual {v0, v4}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setVisibility(Z)V

    .line 2089
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$5400(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v0

    const-wide/16 v1, 0x1f4

    invoke-virtual {v0, v5, v1, v2}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->fade(FJ)V

    .line 2090
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0, v6}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$3402(Lcom/nemustech/regina/widgets/clock/ClockWidget;I)I

    .line 2091
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    const/4 v1, 0x3

    invoke-static {v0, v1}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$5302(Lcom/nemustech/regina/widgets/clock/ClockWidget;I)I

    .line 2092
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0, v6}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$5502(Lcom/nemustech/regina/widgets/clock/ClockWidget;I)I

    goto :goto_0

    .line 2095
    :pswitch_2
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$4100(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "onEffectFinish() - EFFECT_FORECAST_FOLD - unlock !!!"

    invoke-static {v0, v1, v3}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 2096
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0, v4}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$3402(Lcom/nemustech/regina/widgets/clock/ClockWidget;I)I

    .line 2097
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0, v4}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$5502(Lcom/nemustech/regina/widgets/clock/ClockWidget;I)I

    .line 2098
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0, v3}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$5302(Lcom/nemustech/regina/widgets/clock/ClockWidget;I)I

    .line 2103
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$3600(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v0

    iget-object v1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v1}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$600(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v2}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$5600(Lcom/nemustech/regina/widgets/clock/ClockWidget;)I

    move-result v2

    invoke-static {v1, v2}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v1

    iget-object v2, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v2}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$5700(Lcom/nemustech/regina/widgets/clock/ClockWidget;)F

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setSize(FF)V

    .line 2105
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$5800(Lcom/nemustech/regina/widgets/clock/ClockWidget;)V

    .line 2106
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-virtual {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->getWorkspace()Lcom/nemustech/regina/RGWorkspace;

    move-result-object v0

    const/high16 v1, 0x3f00

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/RGWorkspace;->updateThumb(F)V

    .line 2108
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0, v4}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$5900(Lcom/nemustech/regina/widgets/clock/ClockWidget;I)V

    .line 2109
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$600(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lcom/nemustech/regina/ReginaLauncher;

    iget-object v1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ReginaLauncher;->updateItemDatabase(Lcom/nemustech/regina/Element;)V

    .line 2110
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    iget-object v0, v0, Lcom/nemustech/regina/widgets/clock/ClockWidget;->mWorld:Lcom/nemustech/tiffany/world/TFWorld;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFWorld;->unlock()V

    goto/16 :goto_0

    .line 2115
    :pswitch_3
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$4100(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "onEffectFinish() - EFFECT_BACKITEM_UNFOLD"

    invoke-static {v0, v1, v3}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 2116
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0, v6}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$5502(Lcom/nemustech/regina/widgets/clock/ClockWidget;I)I

    .line 2117
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    const/16 v1, 0xa

    invoke-static {v0, v1}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$5302(Lcom/nemustech/regina/widgets/clock/ClockWidget;I)I

    .line 2118
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$6000(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v0

    invoke-virtual {v0, v3, v2, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 2119
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$6100(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v0

    const-wide/16 v1, 0xc8

    invoke-virtual {v0, v5, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->fade(FJ)V

    goto/16 :goto_0

    .line 2123
    :pswitch_4
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$4100(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "onEffectFinish() - EFFECT_BACKITEM_FOLD"

    invoke-static {v0, v1, v3}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 2124
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0, v4}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$5502(Lcom/nemustech/regina/widgets/clock/ClockWidget;I)I

    .line 2125
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    const/16 v1, 0xa

    invoke-static {v0, v1}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$5302(Lcom/nemustech/regina/widgets/clock/ClockWidget;I)I

    .line 2126
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$6200(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v0

    invoke-virtual {v0, v3, v2, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 2129
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$3600(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v0

    iget-object v1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v1}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$600(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v2}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$5600(Lcom/nemustech/regina/widgets/clock/ClockWidget;)I

    move-result v2

    invoke-static {v1, v2}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v1

    iget-object v2, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v2}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$5700(Lcom/nemustech/regina/widgets/clock/ClockWidget;)F

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setSize(FF)V

    .line 2131
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$6300(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v0

    const-wide/16 v1, 0xc8

    invoke-virtual {v0, v5, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->fade(FJ)V

    goto/16 :goto_0

    .line 2139
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$34;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$4100(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "effect finish "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v3}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    goto/16 :goto_0

    .line 2083
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_2
        :pswitch_1
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_4
        :pswitch_3
    .end packed-switch
.end method
